Platform Explorer / Nuxeo Platform LTS 2016 8.10

Contribution org.nuxeo.ecm.restapi.server.auth.config--specificChains

This contribution is part of XML component org.nuxeo.ecm.restapi.server.auth.config inside nuxeo-rest-api-server-8.10.jar /OSGI-INF/auth-contrib.xml

Extension Point

Extension point specificChains of component PluggableAuthenticationService.

Contributed Items

  • <specificAuthenticationChain name="RestAPI">
            <urlPatterns>
                <url>(.*)/api/v.*</url>
            </urlPatterns>
    
            <replacementChain>
                <plugin>AUTOMATION_BASIC_AUTH</plugin>
                <plugin>TOKEN_AUTH</plugin>
            </replacementChain>
        </specificAuthenticationChain>

XML Source

<extension point="specificChains" target="org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService">

    <specificAuthenticationChain name="RestAPI">
        <urlPatterns>
            <url>(.*)/api/v.*</url>
        </urlPatterns>

        <replacementChain>
            <plugin>AUTOMATION_BASIC_AUTH</plugin>
            <plugin>TOKEN_AUTH</plugin>
        </replacementChain>
    </specificAuthenticationChain>

  </extension>